<section class="panel">
    <div class="panel-body">
        <ul class="row out-list" style="list-style: none;padding: 0;">
            <li class="col-lg-3">缺断货率：<span class="Out-stock"><?php echo $sg_g_count[0]['goods_count'] + $sg_g_count[1]['goods_count'];?> / <?php echo $pg_g_count[0]['goods_count'] + $pg_g_count[1]['goods_count'];?> = <?php echo sprintf('%.2f', ($sg_g_count[0]['goods_count'] + $sg_g_count[1]['goods_count']) / ($pg_g_count[0]['goods_count'] + $pg_g_count[1]['goods_count']) * 100);?>%</span></li>
            <li class="col-lg-3">新品断货率：<span class="New-out-stock"><?php echo intval($sg_g_count[1]['goods_count']);?> / <?php echo intval($pg_g_count[1]['goods_count']);?> = <?php echo  $sg_g_count[1] ? sprintf('%.2f', $sg_g_count[1]['goods_count'] / $pg_g_count[1]['goods_count']) * 100 : '0.00';?>%</span></li>
            <li class="col-lg-3">老品断货率：<span class="Old-out-stock"><?php echo intval($sg_g_count[0]['goods_count']);?> / <?php echo intval($pg_g_count[0]['goods_count']);?> = <?php echo sprintf('%.2f', $sg_g_count[0]['goods_count'] / $pg_g_count[0]['goods_count'] * 100);?>%</span></li>
        </ul>
        <!--<div class="row zu-out">
            <p class="col-lg-3">*注：缺断货率 = 下架个数 / 采购个数</p>
            <p class="col-lg-3">新品缺断货率 = 新品下架个数 / 新品采购个数</p>
            <p class="col-lg-3">老品缺断货率 = 老品下架个数 / 老品采购个数</p>
        </div>-->
        <ul class="row out-supp-list" style="list-style: none;padding: 0; margin-top:20px;">
            <?php foreach ($supp_count as $supp) :?>
                <li class="col-lg-3"><?php echo $supp['supp_name'];?>：<span class="Out-stock"><?php echo $supp['count'];?></span></li>
            <?php endforeach;?>
        </ul>
        <div class="zu-out">
            <p >*注：缺断货率 = 下架个数 / 采购个数</p>
        </div>
    </div>
</section>
